![]() | ![]() | ![]() | ![]() |
In SAS 9.2, if you cannot open a SAS Enhanced Editor window, you might see the following message in the SAS Log window:
The Windows Event Viewer might display the following error:
Application popup: regsvr32.exe - Unable To Locate Component : This application has failed to start because USP10.dll was not found. Re-installing the application may fix this problem.
If you check the sassetup.log file, it might appear that the editor is installed:
PROCFILES: install-eeditor: Successfully Launched PROCFILES: install-eeditor: Status: COMPLETED PROCFILES: Performing External Process for eeditor complete.
The eeditor_silentsetup.log file in c:\program files\sas\SASFoundation\9.2 might indicate a successful installation:
[ResponseResult] ResultCode=0
The eeditor_
C:\PROGRA~1\SAS\SHARED~1\ENHANC~1\EDITOR~1.OCX registered successfully
To work around this issue, open SAS, select View ► Program Editor, and type and submit your code via the Program Editor.
To remedy the issue, first re-register the enhanced editor with the following command from a DOS prompt:
c:\winnt\system32\regsvr32.exe "C:\Program
Files\SAS\SharedFiles\enhancededitor\EditorControl.ocx"
Note: The command above might begin with c:\windows\system32 if regsvr32.exe is located in this folder instead.
The registration process might fail with a series of errors:
REGSVR32.EXE - Unable To Locate Component This application has failed to start because USP10.dll was not found. Re-installing the application may fix this problem. REGSVR32 LoadLibrary("c:\Program Files\SAS\SharedFiles\enhancededitor\ EditorControl.ocx") failed. GetLastError returns 0x0000007e.
If the Windows registration process fails with a series of errors, this could be caused by having an older version of regsvr32.exe on the machine. This problem occurs specifically with regsvr32.exe version 4.0.0.0 and file date 10/04/1995. However, the problem might not be limited to this version of regsvr32.exe.
To resolve this issue, upgrade regsvr32.exe to the latest version for your operating system. For Windows XP, a regsvr32.exe version that works is 5.1.2600.2180 and the file date is 8/4/2004. However, other authentic Microsoft versions of regsvr32.exe should work.
For other possible causes, refer to SAS Note 20757 "Error messages might appear in the SAS® log when you invoke SAS or open the Enhanced Editor".
Starting in SAS 9.2 TS2M3, during the install, additional messages are written to the Enhanced Editor log files to track steps that are taken during the install. However, the wrong version of regsvr32.exe might be installed on the machine, regardless of the SAS version.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | Base SAS | Microsoft Windows Server 2008 for x64 | 9.21 | 9.21_M3 | 9.2 TS2M0 | 9.2 TS2M3 |
Microsoft Windows Server 2003 for x64 | 9.21 | 9.21_M3 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Microsoft Windows Server 2003 Standard Edition | 9.21 | 9.21_M3 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.21 | 9.21_M3 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Microsoft Windows Server 2003 Datacenter Edition | 9.21 | 9.21_M3 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Microsoft® Windows® for x64 | 9.21 | 9.21_M3 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Microsoft Windows XP 64-bit Edition | 9.21 | 9.21_M3 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.21 | 9.21_M3 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.21 | 9.21_M3 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.21 | 9.21_M3 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Windows Vista for x64 | 9.21 | 9.21_M3 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Microsoft Windows XP Professional | 9.21 | 9.21_M3 | 9.2 TS2M0 | 9.2 TS2M3 | ||
Windows Vista | 9.21 | 9.21_M3 | 9.2 TS2M0 | 9.2 TS2M3 |